#ifndef EXPENSERECORDLIST_H
#define EXPENSERECORDLIST_H
#include "recordlist.h"
#include <vector>
#include<QMessageBox>

using namespace std;
class ExpenseRecordList: public RecordList

{
private:
    static vector<QString> expenseCategoryList;
public:
    ExpenseRecordList();
    int categorysize();
    QString getcategory(int);
    vector<QString> getCategoryList();
    void clearCategoryList();
    void addCategory(QString);
    void removeCategory(QString);
    void operator=(ExpenseRecordList copy);
    double calculateExpense();


};

#endif // EXPENSERECORDLIST_H
